home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Release Notes / Converting from ODF 1 / API changes in ODF2 next >
Encoding:
Text File  |  1996-09-19  |  31.2 KB  |  557 lines  |  [TEXT/MPS ]

  1. This file lists class and member names that have changed since ODF Release 1.
  2. They may have been renamed, moved to another class, or removed.
  3. When you hit compile errors, search this list to find out what to do.
  4. (*) indicates an API change.
  5.  
  6. FW_CPart::AddProperties - renamed to AddAnnotationProperties; (*) has an extra parameter
  7. FW_CPart::ClearPartStorage - gone; ODF does not automatically clear the part kind value anymore
  8. FW_CPart::GetPartKind - (*) returns FW_CKind* instead of ODValueType; call FW_CKind::GetType to get the type
  9. FW_CPart::GetSession - gone; use FW_CSession static function instead
  10. FW_CPart::HandleAdjustMenus - (*) returns FW_Handled instead of FW_Boolean
  11. FW_CPart::Initialize - (*) has 2 additional parameters: ODStorageUnit* storageUnit, FW_Boolean fromStorage
  12. FW_CPart::InternalizeContent - (*) returns FW_Boolean instead of void
  13. FW_CPart::IsValidContentValue - gone; register your part kinds by calling FW_CPart::RegisterKind
  14. FW_CPart::PrivCleanseContentProperty - gone
  15. FW_CPart::PrivCloneInto - gone
  16. FW_CPart::PrivInitGlobals - (*) has additional parameter: ODStorageUnit* storageUnit
  17. FW_CPart::PrivNewDataInterchange - renamed to NewDataInterchange
  18. FW_CPart::PrivNewEventDispatcher - renamed to NewEventDispatcher
  19. FW_CPart::PrivNewPresentation - renamed to NewPresentation; (*) 2 additional parameters: FW_ResourceId viewResourceID, FW_ResourceId rootViewResourceID
  20. FW_CPart::TranslateData - moved to FW_CDataInterchange
  21. FW_CPart::ValidatePresentation - (*) parameters changed
  22.  
  23. FW_CPart::gMacPICTDataType - gone
  24. FW_CPart::gMacPICTFileType - gone
  25. FW_CPart::gMachfsDataType - gone
  26. FW_CPart::gMacTEXTFileType - gone
  27. FW_CPart::gMacTEXTDataType - gone
  28. FW_CPart::gMacMooVFileType - gone
  29.  
  30. FW_CPart::gSessionGlobalsCount - renamed to fgSessionGlobalsCount
  31. FW_CPart::gSelectionFocusToken - renamed to fgSelectionFocusToken
  32. FW_CPart::gMenuFocusToken - renamed to fgMenuFocusToken
  33. FW_CPart::gKeyFocusToken - renamed to fgKeyFocusToken
  34. FW_CPart::gModalFocusToken - renamed to fgModalFocusToken
  35. FW_CPart::gClipboardFocusToken - renamed to fgClipboardFocusToken
  36. FW_CPart::gScrollingFocusToken - renamed to fgScrollingFocusToken
  37. FW_CPart::gViewAsFrameToken - renamed to fgViewAsFrameToken
  38. FW_CPart::gViewAsSmallIconToken - renamed to fgViewAsSmallIconToken
  39. FW_CPart::gViewAsLargeIconToken - renamed to fgViewAsLargeIconToken
  40. FW_CPart::gViewAsThumbnailToken - renamed to fgViewAsThumbnailToken
  41.  
  42. FW_CEmbeddingPart::PrivCloneInto - renamed to CloneInto
  43. FW_CEmbeddingPart::PrivNewDataInterchange - renamed to NewDataInterchange
  44. FW_CEmbeddingPart::PrivNewPresentation - gone; FW_CEmbeddingPresentation is also gone
  45.  
  46. FW_CEmbeddingPresentation - gone; use FW_CPresentation
  47. FW_CEmbeddingPresentation::Embed - gone; call FW_MProxy::Embed instead
  48.  
  49. FW_CFrame::AcquireContainingPartProperties - gone; moved to FW_CEmbeddingPart, (*) parameter added
  50. FW_CFrame::AdjustCursor - (*) returns FW_Handled instead of FW_Boolean; has additional parameter: ODEventInfo* eventInfo
  51. FW_CFrame::ChangeInternalTransform - renamed to PrivChangeInternalTransform
  52. FW_CFrame::ContainingPartPropertiesUpdated - gone
  53. FW_CFrame::DrawHighlight - renamed to DrawFullHighlight; (*) hilite parameter removed
  54. FW_CFrame::FW_CFrame - (*) last parameter gone (resource id); pass resource ID to RegisterPresentation instead
  55. FW_CFrame::HandleAdjustMenus - (*) returns FW_Handled instead of FW_Boolean
  56. FW_CFrame::HandleDraw - (*) returns FW_Handled instead of FW_Boolean
  57. FW_CFrame::HandleIdle - (*) returns FW_Handled instead of FW_Boolean
  58. FW_CFrame::HandleMenu - (*) returns FW_Handled instead of FW_Boolean
  59. FW_CFrame::HandleMouseEnter - (*) returns FW_Handled instead of FW_Boolean; has additional parameter: ODEventInfo* eventInfo; changed to virtual
  60. FW_CFrame::HandleMouseLeave - (*) returns FW_Handled instead of FW_Boolean; has additional parameter: ODEventInfo* eventInfo; changed to virtual
  61. FW_CFrame::HandleMouseWithin - (*) returns FW_Handled instead of FW_Boolean; has additional parameter: ODEventInfo* eventInfo; changed to virtual
  62. FW_CFrame::HandleSuspendResumeEvent - (*) returns FW_Handled instead of FW_Boolean; changed to virtual
  63. FW_CFrame::HandleWindowEvent - (*) returns FW_Handled instead of FW_Boolean; changed to virtual
  64. FW_CFrame::HighlightChanged - (*) parameters added
  65. FW_CFrame::NewPartWindow - (*) parameters changed
  66. FW_CFrame::PrivActivateFrame - renamed to ActivateFrame
  67. FW_CFrame::PrivActiveWindowOnMouseDown - renamed to ActivateWindow
  68. FW_CFrame::PrivDragging - renamed to PrivStartStopDragging; (*) 2nd parameter changed
  69. FW_CFrame::PrivUpdateScrollParameters - (*) 2nd parameter gone
  70. FW_CFrame::ResetViews - renamed to DeleteAndResetViews
  71. FW_CFrame::ShowPartInfo - (*) return type changed to FW_Handled
  72.  
  73. FW_CEmbeddingFrame::AdjustCursor - (*) returns FW_Handled instead of FW_Boolean; additional parameter ODEventInfo* eventInfo
  74. FW_CEmbeddingFrame::CreateEmbeddedFacet - gone; override FW_MProxy::CreateFacets instead, (*) API changed
  75. FW_CEmbeddingFrame::EmbeddedFacetAdded - gone
  76. FW_CEmbeddingFrame::EmbeddedFacetRemoved - gone
  77. FW_CEmbeddingFrame::FW_CEmbeddingFrame - (*) last parameter gone (FW_ResourceId)
  78. FW_CEmbeddingFrame::GetEmbeddedFacet - gone
  79. FW_CEmbeddingFrame::HandleAdjustMenus - (*) returns FW_Handled instead of FW_Boolean
  80. FW_CEmbeddingFrame::HandleMenu - (*) returns FW_Handled instead of FW_Boolean
  81. FW_CEmbeddingFrame::PrivDragging - renamed to PrivStartStopDragging; (*) 2nd parameter changed
  82. FW_CEmbeddingFrame::RevealFrame - gone; override FW_MProxy::Reveal instead
  83. FW_CEmbeddingFrame::ShowPartInfo - (*) return type changed to FW_Handled
  84.  
  85. FW_CAboutFrame::DoAdjustMenus - (*) returns FW_Handled instead of FW_Boolean
  86.  
  87. FW_CClipboardCommand::fClipboard - gone; call FW_CSession::GetClipboard(ev) instead
  88.  
  89. FW_CCommand::GetUndo - gone; call FW_CSession::GetUndo(ev) instead
  90. FW_CCommand::IsOKtoEdit - (*) is now virtual
  91.  
  92. FW_CContent - is now an auto-destruct class
  93. FW_CContent::CreateDataFrameShape - renamed to AcquireSuggestedFrameShape
  94. FW_CContent::Externalize - override ExternalizeKind instead
  95. FW_CContent::Internalize - override InternalizeKind instead
  96.  
  97. FW_CDataInterchange::ExternalizeData - (*) 5th parameter changed to type FW_StorageKinds
  98. FW_CDataInterchange::InternalizeData - (*) 5th parameter changed to type FW_StorageKinds
  99.  
  100. FW_CDialogFrame::FW_CDialogFrame - (*) last parameter gone (resource ID); pass resource ID to RegisterPresentation instead
  101. FW_CDialogFrame::DoVirtualKey - (*) returns FW_Handled instead of FW_Boolean
  102.  
  103. FW_CEmbeddingDataInterchange::PrivPostEmbedAs - (*) return type is now void
  104.  
  105. FW_CFacetClipper::FW_CFacetClipper - (*) both parameters are gone
  106. FW_CFacetClipper::AcquireWorkingClip - (*) last parameter is gone (limitShape)
  107. FW_CFacetClipper::ClipOneEmbeddedFacet - (*) last parameter is gone (limitShape)
  108.  
  109. FW_CLink::PrivDrawLinkBorder - renamed to DrawLinkBorder, made public
  110. FW_CLinkManager::PasteWithLink - (*) last parameter changed to type FW_StorageKinds
  111. FW_CLinkManager::SetPendingDropLink - renamed to PrivSetPendingDropLink; (*) parameter added
  112. FW_CLinkSource::ResolveAllPromises - gone
  113. FW_CLinkSource::PrivSetPromise - gone
  114. FW_CLinkSource::IsPromised - gone
  115.  
  116. FW_CODPart::AcquireContainingPartProperties - (*) parameter added
  117. FW_CODPart::ChangeKind - (*) parameter added
  118. FW_CODPart::DisplayFrameClosed - gone
  119. FW_CODPart::DisplayFrameRemoved - (*) parameters added
  120. FW_CODPart::ExternalizeKinds - (*) parameter added
  121. FW_CODPart::RevealFrame - (*) parameter added
  122.  
  123. FW_MPasteAsHandler::PasteAsEmbed - (*) 3rd parameter changed to type FW_StorageKinds
  124. FW_MPasteAsHandler::PostPasteAsDialog - (*) 3rd parameter changed to type FW_StorageKinds
  125.  
  126. FW_CPresentation::FW_CPresentation - (*) parameters changed
  127. FW_CPresentation::Embed - gone; moved to FW_MProxy
  128. FW_CPresentation::GetPartWindow - moved to FW_CPart
  129. FW_CPresentation::GetPartWindowFrame - moved to FW_CPart
  130. FW_CPresentation::OpenPartWindow - moved to FW_CPart
  131. FW_CPresentation::SetFocusSet - renamed to AdoptFocusSet
  132.  
  133. FW_CPrintHandler::FW_CPrintHandler - (*) parameter added
  134. FW_CPrintHandler::DoAdjustMenus (*) returns FW_Handled instead of FW_Boolean
  135. FW_CPrintHandler::DoMenu (*) returns FW_Handled instead of FW_Boolean
  136.  
  137. FW_CPrintJob::OpenDocument - (*) ODSession parameter is gone
  138.  
  139. FW_CPromise::FW_CPromise - (*) version taking an FW_CLinkSource* parameter is gone; parameter added (FW_CLinkSource*); parameter type renamed to FW_StorageKinds
  140. FW_CPromise::FulfillPromise - call ExternalizeKind instead of Externalize; (*) parameter added
  141. FW_CPromise::GetStorageKind - (*) returns type FW_StorageKinds
  142. FW_CPromise::PrivHandleFulfillPromise - (*) parameter added
  143.  
  144. FW_CProxyFrame::FW_CProxyFrame - (*) parameter added (wasInLimbo)
  145. FW_CProxyFrame::IsVisible - gone
  146.  
  147. FW_CScrollBarScroller::FW_CScrollBarScroller - (*) parameter added (liveScrolling)
  148. FW_CScrollBarScroller::PrivAdjustScrollBar - gone
  149. FW_CScrollBarScroller::ScrollPositionChanged - (*) parameters added
  150. FW_CScrollBarScroller::UpdateScrollParameters - gone; moved to FW_CScroller
  151. FW_CPrivBaseScroller::UpdateScrollParameters - (*) last parameter removed
  152.  
  153. FW_CScroller::fAutoScrollIncrement - gone
  154. FW_CScroller::GetScrollUnits - (*) changed completely
  155. FW_CScroller::PrivAcquireContentScrollShape - renamed to PrivCreateContentScrollShape; (*)
  156. FW_CScroller::PrivChangeOffset - gone
  157. FW_CScroller::ScrollDraw - gone
  158. FW_CScroller::ScrollPositionChanged - (*) parameters changed
  159. FW_CScroller::SetAutoScrollIncrement - gone
  160. FW_CScroller::UpdateScrollParameters - (*) last parameter removed
  161.  
  162. FW_CSelection::CreateSelectionOutline - renamed to AcquireSelectionOutline
  163. FW_CSelection::CreateSelectionShape - renamed to AcquireSelectionShape
  164. FW_CSelection::GetSession - gone; use FW_CSession static function instead 
  165. FW_CSelection::ShowSelectionInfo - (*) return type changed to FW_Handled
  166.  
  167. FW_CDropTracker::fDragAttributes - changed from private to protected
  168. FW_CDropTracker::fSession - gone; use FW_CSession static functions instead
  169. FW_CDropTracker::FW_CDropTracker - (*) parameter added (autoScroll)
  170. FW_CTracker::fWaitMouseMoved - changed from private to protected
  171.  
  172. FW_CSuperView::AdjustCursor - (*) returns FW_Handled instead of FW_Boolean; additional parameter ODEventInfo* eventInfo
  173. FW_CSuperView::HandleDraw - (*) returns FW_Handled instead of FW_Boolean
  174. FW_CSuperView::HandleMouseDown - (*) returns FW_Handled instead of FW_Boolean
  175. FW_CSuperView::IsInContentView - gone
  176. FW_CSuperView::MakeContentView - renamed to BecomeContentView
  177. FW_CSuperView::PrivAcquireContentScrollShape - (*) parameters changed
  178. FW_CSuperView::SubViewAdded - gone
  179. FW_CSuperView::SubViewRemoved - gone
  180.  
  181. FW_CView::AdjustCursor - (*) returns FW_Handled instead of FW_Boolean; additional parameter ODEventInfo* eventInfo
  182. FW_CView::DoBGMouseDown - (*) returns FW_Handled instead of FW_Boolean
  183. FW_CView::DoMouseEnter - (*) returns FW_Handled instead of FW_Boolean; additional parameter ODEventInfo* eventInfo
  184. FW_CView::DoMouseLeave - (*) returns FW_Handled instead of FW_Boolean; additional parameter ODEventInfo* eventInfo
  185. FW_CView::DoMouseWithin - (*) returns FW_Handled instead of FW_Boolean; additional parameter ODEventInfo* eventInfo
  186. FW_CView::HandleBGMouseDown - (*) returns FW_Handled instead of FW_Boolean
  187. FW_CView::HandleDraw - (*) returns FW_Handled instead of FW_Boolean
  188. FW_CView::HandleMouseDown - (*) returns FW_Handled instead of FW_Boolean
  189. FW_CView::HandleMouseUp - (*) returns FW_Handled instead of FW_Boolean
  190. FW_CView::SetResizeForceRedraw - renamed to SetResizeInvalidates
  191.  
  192. FW_CView::AdjustToNewLayout - (*) last parameter is now type FW_ERedrawVerb (defined in FWViews.k)
  193. FW_CNativeControl::SetLabel - (*) last parameter is now type FW_ERedrawVerb (defined in FWViews.k)
  194. FW_CFrame::SetLocation - (*) last parameter is now type FW_ERedrawVerb (defined in FWViews.k)
  195. FW_CSuperView::SetLocation - (*) last parameter is now type FW_ERedrawVerb (defined in FWViews.k)
  196. FW_CView::SetLocation - (*) last parameter is now type FW_ERedrawVerb (defined in FWViews.k)
  197. FW_CSuperView::SetSize - (*) last parameter is now type FW_ERedrawVerb (defined in FWViews.k)
  198. FW_CView::SetSize - (*) last parameter is now type FW_ERedrawVerb (defined in FWViews.k)
  199. FW_CStaticText::SetText - (*) last parameter is now type FW_ERedrawVerb (defined in FWViews.k)
  200.  
  201. FW_CViewAs::Draw - (*) is now pure virtual
  202. FW_CViewAs::CalcUsedShape - renamed to AcquireUsedShape; (*) is now pure virtual
  203. FW_CViewAs::FW_CViewAs - (*) parameter added (ODTypeToken)
  204. FW_CViewAsIcon - gone; use FW_CViewAs
  205. FW_CViewAsLargeIcon - gone; use FW_CViewAs
  206. FW_CViewAsSmallIcon - gone; use FW_CViewAs
  207. FW_CViewAsThumbnail - gone; use FW_CViewAs
  208.  
  209. FW_CFloatingWindow::HideShowFloatingWindows - (*) parameters changed
  210. FW_CFloatingWindow::TransferOwnership - (*) ODWindowState parameter is gone
  211. FW_CFloatingWindow::gSharedWindows - renamed to fgSharedWindows
  212.  
  213. FW_CPrivSharedWindow::HideShow - (*) parameters changed
  214.  
  215. FW_CWindow::FW_CWindow - (*) FW_CPart parameter removed from two constructors
  216. FW_CWindow::PrivCreateODWindowForFrame - (*) parameters changed
  217. FW_CWindow::fSession - gone; use FW_CSession static functions instead
  218.  
  219. FW_MEventHandler::CreateEventHandlers - gone; code moved to AdoptEventHandler
  220. FW_MEventHandler::DispatchAdjustMenus - renamed to PrivDispatchAdjustMenus
  221. FW_MEventHandler::DispatchBGMouseDown - renamed to PrivDispatchBGMouseDown
  222. FW_MEventHandler::DispatchBGMouseDownInEmbeddedFrame - renamed to PrivDispatchBGMouseDownInEmbeddedFrame
  223. FW_MEventHandler::DispatchCharKey - renamed to PrivDispatchCharKey
  224. FW_MEventHandler::DispatchIdle - renamed to PrivDispatchIdle
  225. FW_MEventHandler::DispatchMenuEvent - renamed to PrivDispatchMenuEvent
  226. FW_MEventHandler::DispatchMouseDown - renamed to PrivDispatchMouseDown
  227. FW_MEventHandler::DispatchMouseDownInEmbeddedFrame - renamed to PrivDispatchMouseDownInEmbeddedFrame
  228. FW_MEventHandler::DispatchMouseDownInEmbeddedFrameBorder - renamed to PrivDispatchMouseDownInEmbeddedFrameBorder
  229. FW_MEventHandler::DispatchMouseUp - renamed to PrivDispatchMouseUp
  230. FW_MEventHandler::DispatchMouseUpInEmbeddedFrame - renamed to PrivDispatchMouseUpInEmbeddedFrame
  231. FW_MEventHandler::DispatchVirtualKey - renamed to PrivDispatchVirtualKey
  232. FW_MEventHandler::ODFrameToEventHandler - gone
  233. FW_MEventHandler::GetTarget - moved to FW_CFrame
  234. FW_MEventHandler::SetTarget - moved to FW_CFrame; (*) parameter added
  235. FW_MEventHandler::WantsToResignTarget - renamed to WillingToResignTarget
  236.  
  237. (*) The following methods return FW_Handled instead of FW_Boolean
  238.     FW_MEventHandler::DoAdjustMenus
  239.     FW_MEventHandler::DoBGMouseDown
  240.     FW_MEventHandler::DoBGMouseDownInEmbeddedFrame
  241.     FW_MEventHandler::DoCharKey
  242.     FW_MEventHandler::DoIdle
  243.     FW_MEventHandler::DoMenu
  244.     FW_MEventHandler::DoMouseDown
  245.     FW_MEventHandler::DoMouseDownInEmbeddedFrame
  246.     FW_MEventHandler::DoMouseDownInEmbeddedFrameBorder
  247.     FW_MEventHandler::DoMouseUp
  248.     FW_MEventHandler::DoMouseUpInEmbeddedFrame
  249.     FW_MEventHandler::DoVirtualKey
  250.     FW_MEventHandler::HandleAdjustMenus
  251.     FW_MEventHandler::HandleBGMouseDown
  252.     FW_MEventHandler::HandleBGMouseDownInEmbeddedFrame
  253.     FW_MEventHandler::HandleCharKey
  254.     FW_MEventHandler::HandleIdle
  255.     FW_MEventHandler::HandleMenu
  256.     FW_MEventHandler::HandleMouseDown
  257.     FW_MEventHandler::HandleMouseDownInEmbeddedFrame
  258.     FW_MEventHandler::HandleMouseDownInEmbeddedFrameBorder
  259.     FW_MEventHandler::HandleMouseUp
  260.     FW_MEventHandler::HandleMouseUpInEmbeddedFrame
  261.     FW_MEventHandler::HandleVirtualKey
  262.     FW_MEventHandler::PrivDispatchAdjustMenus
  263.     FW_MEventHandler::PrivDispatchBGMouseDown
  264.     FW_MEventHandler::PrivDispatchBGMouseDownInEmbeddedFrame
  265.     FW_MEventHandler::PrivDispatchCharKey
  266.     FW_MEventHandler::PrivDispatchIdle
  267.     FW_MEventHandler::PrivDispatchMenuEvent
  268.     FW_MEventHandler::PrivDispatchMouseDown
  269.     FW_MEventHandler::PrivDispatchMouseDownInEmbeddedFrame
  270.     FW_MEventHandler::PrivDispatchMouseDownInEmbeddedFrameBorder
  271.     FW_MEventHandler::PrivDispatchMouseUp
  272.     FW_MEventHandler::PrivDispatchMouseUpInEmbeddedFrame
  273.     FW_MEventHandler::PrivDispatchVirtualKey
  274.  
  275. FW_CControl::AdjustCursor - (*) returns FW_Handled instead of FW_Boolean
  276. FW_CEditView::AdjustCursor - (*) returns FW_Handled instead of FW_Boolean
  277. FW_CEditView::DoAdjustMenus - (*) returns FW_Handled instead of FW_Boolean
  278. FW_CEditView::DoCharKey - (*) returns FW_Handled instead of FW_Boolean
  279. FW_CEditView::DoIdle - (*) returns FW_Handled instead of FW_Boolean
  280. FW_CEditView::DoMenu - (*) returns FW_Handled instead of FW_Boolean
  281. FW_CEditView::DoMouseDown - (*) returns FW_Handled instead of FW_Boolean
  282. FW_CEditView::DoVirtualKey - (*) returns FW_Handled instead of FW_Boolean
  283. FW_CEditView::InputCharKey - (*) returns FW_Handled instead of FW_Boolean
  284. FW_CListBox::AdjustCursor - (*) returns FW_Handled instead of FW_Boolean
  285. FW_CListBox::DoMouseDown - (*) returns FW_Handled instead of FW_Boolean
  286. FW_CListBox::DoVirtualKey - (*) returns FW_Handled instead of FW_Boolean
  287. FW_CNativeControl::DoMouseDown - (*) returns FW_Handled instead of FW_Boolean; parameter added (ODEventInfo*)
  288.  
  289. FW_CButton::FW_CButton - (*) parameter order changed to (ev, container, bounds, viewID)
  290. FW_CControl::FW_CControl - (*) parameter order changed to (ev, container, bounds, viewID)
  291. FW_CEditView::FW_CEditView - (*) parameter order changed to (ev, container, bounds, viewID)
  292. FW_CGroupBox::FW_CGroupBox - (*) additional parameter (viewID)
  293. FW_CNativeControl::FW_CNativeControl - (*) parameter order changed to (ev, container, bounds, viewID)
  294. FW_CPopupMenu::FW_CPopupMenu - (*) parameter order changed to (ev, container, bounds, viewID)
  295. FW_CScrollBar::FW_CScrollBar - (*) parameter order changed to (ev, container, bounds, viewID)
  296. FW_CStaticText::FW_CStaticText - (*) additional parameter (viewID)
  297.  
  298. FW_CButton::MacGetProcId - renamed to MacGetProcID
  299. FW_CControlNotification::GetViewId - renamed to GetViewID
  300. FW_CRadioCluster::GetButtonIdOn - renamed to GetButtonIDOn
  301. FW_CSuperView::FindViewById - renamed to FindViewByID; (*) now const
  302. FW_CView::FindViewById - renamed to FindViewByID; (*) now const
  303. FW_CView::GetViewId - renamed to GetViewID
  304. FW_CView::SetViewId - renamed to SetViewID
  305.  
  306. FW_CEditView::MacTE - (*) returns TEHandle instead of TERec*; e.g. replace MacTE()->hText with (*MacTE())->hText 
  307. FW_CListBox::SetDrawingMode - (*) returns FW_Boolean (the old drawing mode)
  308.  
  309. FW_CPrivMacControlHelper::fMacProcId - renamed to fMacProcID
  310. FW_CPrivMacControlHelper::fMacFontId - renamed to fMacFontID
  311. FW_CListBox::fMacFontId - renamed to fMacFontID
  312. FW_CListBox::SetDrawingMode - (*) changed to non-virtual
  313.  
  314. FW_MDraggableFrame::SetDragging - gone
  315.  
  316. FW_MProxy::AcquireEmbeddedFrame - (*) additional parameter
  317. FW_MProxy::AcquireEmbeddedPart - (*) additional parameter
  318. FW_MProxy::FW_MProxy - (*) presentation parameter is gone
  319. FW_MProxy::Externalize - (*) changed to virtual
  320. FW_MProxy::Internalize - (*) changed to virtual
  321. FW_MProxy::GetPresentation - gone
  322. FW_MProxy::PrivEmbeddedFacetAdded - gone
  323. FW_MProxy::PrivNewProxyFrame - (*) added parameter
  324. FW_MProxy::PrivSetDragging - gone
  325. FW_MProxy::SetEmbeddedFramesViewType - renamed to ChangeEmbeddedFramesViewType
  326.  
  327. FW_CEventDispatcher::Dispatch - (*) returns FW_Handled instead of FW_Boolean; parameter type changed; added ODEventInfo* parameter
  328. FW_CEventDispatcher::DispatchActivateEvent - (*) returns FW_Handled instead of FW_Boolean; parameter type changed; added ODEventInfo* parameter
  329. FW_CEventDispatcher::DispatchBorderMouseDownEvent - (*) returns FW_Handled instead of FW_Boolean; parameter type changed; added ODEventInfo* parameter
  330. FW_CEventDispatcher::DispatchCharKeyEvent - (*) returns FW_Handled instead of FW_Boolean; parameter type changed; added ODEventInfo* parameter
  331. FW_CEventDispatcher::DispatchEmbeddedMouseDownEvent - (*) returns FW_Handled instead of FW_Boolean; parameter type changed; added ODEventInfo* parameter
  332. FW_CEventDispatcher::DispatchEmbeddedMouseUpEvent - (*) returns FW_Handled instead of FW_Boolean; parameter type changed; added ODEventInfo* parameter
  333. FW_CEventDispatcher::DispatchMenuEvent - (*) returns FW_Handled instead of FW_Boolean; parameter type changed; added ODEventInfo* parameter
  334. FW_CEventDispatcher::DispatchMouseDownEvent - (*) returns FW_Handled instead of FW_Boolean; parameter type changed; added ODEventInfo* parameter
  335. FW_CEventDispatcher::DispatchMouseUpEvent - (*) returns FW_Handled instead of FW_Boolean; parameter type changed; added ODEventInfo* parameter
  336. FW_CEventDispatcher::DispatchMouseEnterEvent - gone; FW_CFrame::HandleMouseEnter is called directly
  337. FW_CEventDispatcher::DispatchMouseWithinEvent - gone; FW_CFrame::HandleMouseWithin is called directly
  338. FW_CEventDispatcher::DispatchMouseLeaveEvent - gone; FW_CFrame::HandleMouseLeave is called directly
  339. FW_CEventDispatcher::DispatchNullEvent - (*) returns FW_Handled instead of FW_Boolean; parameter type changed; added ODEventInfo* parameter
  340. FW_CEventDispatcher::DispatchOSEvent - (*) returns FW_Handled instead of FW_Boolean; parameter added; added ODEventInfo* parameter
  341. FW_CEventDispatcher::DispatchVirtualKeyDownEvent - (*) returns FW_Handled instead of FW_Boolean; parameter type changed; added ODEventInfo* parameter
  342. FW_CEventDispatcher::DispatchVirtualKeyUpEvent - (*) returns FW_Handled instead of FW_Boolean; parameter type changed; added ODEventInfo* parameter
  343. FW_CEventDispatcher::DispatchWindowEvent - (*) returns FW_Handled instead of FW_Boolean; parameter added; added ODEventInfo* parameter
  344. FW_CEventDispatcher::gAutoRepeatCount - renamed to fgAutoRepeatCount
  345. FW_CEventDispatcher::gLastMouseUpWhere - renamed to fgLastMouseUpWhere
  346. FW_CEventDispatcher::gLastMouseUp - renamed to fgLastMouseUp
  347. FW_CEventDispatcher::gClickCount - renamed to fgClickCount
  348.  
  349. FW_CMouseEvent::ButtonState - renamed to EButtonState (an enum)
  350. FW_CMouseEvent::WhichButton - renamed to EWhichButton (an enum)
  351. FW_CMouseEvent::ClearControlKeyModifier - moved to FW_CSystemEvent
  352. FW_CMouseEvent::ClearCopyModifier - moved to FW_CSystemEvent
  353. FW_CMouseEvent::ClearExtendModifier - moved to FW_CSystemEvent
  354. FW_CMouseEvent::ClearItemModifier - moved to FW_CSystemEvent
  355. FW_CMouseEvent::GetButtonModifiers - gone; use FW_CSystemEvent::GetModifiers instead
  356. FW_CMouseEvent::IsControlKeyModifier - moved to FW_CSystemEvent
  357. FW_CMouseEvent::IsCopyModifier - moved to FW_CSystemEvent
  358. FW_CMouseEvent::IsExtendModifier - moved to FW_CSystemEvent
  359. FW_CMouseEvent::IsItemModifier - moved to FW_CSystemEvent
  360. FW_CMouseEvent::kControl - moved to FW_CSystemEvent
  361. FW_CMouseEvent::kCopy - moved to FW_CSystemEvent
  362. FW_CMouseEvent::kEmpty - moved to FW_CSystemEvent
  363. FW_CMouseEvent::kExtend - moved to FW_CSystemEvent
  364. FW_CMouseEvent::kItem - moved to FW_CSystemEvent
  365. FW_CMouseEvent::FW_CMouseEvent - (*) added propagated parameter; parameter types changed
  366. FW_CMouseEvent::GetButtonState - (*) type changed to EButtonState
  367. FW_CMouseEvent::GetInitialButtonPressed - (*) type changed to EWhichButton
  368. FW_CMouseEvent::fButtonState - (*) type changed to EButtonState
  369. FW_CMouseEvent::fWhichButton -  (*) type changed to EWhichButton
  370.  
  371. FW_CActivateEvent::FW_CActivateEvent - (*) added propagated parameter
  372. FW_CBorderMouseEvent::FW_CBorderMouseEvent - (*) added propagated parameter; parameter types changed (ButtonState, WhichButton)
  373. FW_CCharKeyEvent::FW_CCharKeyEvent - (*) added propagated parameter
  374. FW_CEmbeddedMouseEvent::FW_CEmbeddedMouseEvent - (*) added propagated parameter; parameter types changed (ButtonState, WhichButton)
  375. FW_CMacWindowEvent::FW_CMacWindowEvent - (*) added propagated parameter
  376. FW_CMenuEvent::FW_CMenuEvent - (*) added propagated parameter
  377. FW_CNullEvent::FW_CNullEvent - (*) added propagated parameter
  378. FW_CSuspendResumeEvent::FW_CSuspendResumeEvent - (*) added propagated parameter
  379. FW_CSystemEvent::FW_CSystemEvent - (*) added propagated parameter
  380. FW_CVirtualKeyEvent::FW_CVirtualKeyEvent - (*) added propagated parameter
  381.  
  382. FW_CAlphaNumFilter::DoCharKey - (*) returns FW_Handled instead of FW_Boolean
  383. FW_CIntegerFilter::DoCharKey - (*) returns FW_Handled instead of FW_Boolean
  384. FW_CViewTabber::DoVirtualKey - (*) returns FW_Handled instead of FW_Boolean
  385.  
  386. FW_CSystemEvent::GetModifiers - renamed to GetPlatformModifiers; use IsItemModifier etc. instead
  387. FW_CSystemEvent::IsShiftModifier - gone; use IsExtendModifier instead
  388.  
  389. FW_CAppleEvent::GetAttributeByKey - gone; use GetAttributeByPtr or GetAttributeByDesc instead
  390. FW_CAppleEvent::HasAttributeKey - renamed to HasAttribute
  391. FW_CAppleEvent::HasSubject - gone
  392.  
  393. FW_CDesc::DeleteListItem - gone; use DeleteListItemByIndex or DeleteListItemByKey instead
  394. FW_CDesc::GetDataByPtr - (*) type of dataSize parameter changed to Size*
  395. FW_CDesc::GetPoint - (*) API changed
  396. FW_CDesc::PutPoint - (*) parameter changed
  397.  
  398. FW_CDesc& operator<< - (*) 2nd parameter changed
  399. const FW_CDesc& operator>> - (*) 2nd parameter changed
  400. FW_InsertScriptableIntoDesc - (*) 1st parameter no longer const
  401.  
  402. FW_MScriptable::GetAdjacentObject - renamed to AcquireAdjacentObject
  403. FW_MScriptable::GetAllElements - renamed to AcquireAllElements
  404. FW_MScriptable::GetAnyElement - renamed to AcquireAnyElement
  405. FW_MScriptable::GetContainedObject - renamed to AcquireContainedObject; (*) return type changed, last parameter removed
  406. FW_MScriptable::GetContainingObject - renamed to AcquireContainingObject
  407. FW_MScriptable::GetElementByAbsolutePosition - renamed to AcquireElementByAbsolutePosition
  408. FW_MScriptable::GetElementByIndex - renamed to AcquireElementByIndex
  409. FW_MScriptable::GetFirstElement - renamed to AcquireFirstElement
  410. FW_MScriptable::GetLastElement - renamed to AcquireLastElement
  411. FW_MScriptable::GetMiddleElement - renamed to AcquireMiddleElement
  412. FW_MScriptable::GetElementByName - renamed to AcquireElementByName
  413. FW_MScriptable::GetElementsWithinRange - renamed to AcquireElementsWithinRange
  414. FW_MScriptable::GetTokenType - gone
  415.  
  416. FW_CPropertyDesignator::GetDesignateValue - (*) parameter added, return type changed
  417. FW_CPropertyDesignator::GetTokenType - gone
  418. FW_CSemanticInterface::GetScriptableFromToken - renamed to AcquireScriptableFromToken
  419. FW_CSemanticInterface::GetTargetObject - renamed to AcquireTargetObject
  420. FW_CSemanticInterface::RegisterCallbacks - gone; register callbacks in part::RegisterScriptingCallbacks
  421. FW_CSemanticInterface::RegisterCoercionFunction - gone
  422. FW_CSemanticInterface::TypeIsSemanticObject - gone
  423.  
  424. FW_MPartScriptable::GetContainingObject - renamed to AcquireContainingObject
  425. FW_MPartScriptable::GetObjectContainedInPart - renamed to AcquireObjectContainedInPart; (*) API changed
  426.  
  427. ExternalizeInScope - gone
  428. FW_AcquireFileContainer - (*) 2nd parameter gone (ODSession*)
  429. FW_MakeSetLocalPropertyEvent - changed to a factory method; (*) return type changed, parameter added
  430. FW_PrivCompareODDescTypes - gone
  431. FW_PrivLimitScrolling - gone
  432. FW_SUAddPropValue - code moved to OS:FWODMisc:FWSUUtil.cpp
  433. SetThumbPosition - gone
  434.  
  435. FW_EStorageKinds - renamed to FW_StorageKinds; (*) it is now a short containing flags, not an enum
  436. FW_kClipboardStorage - type change (enum ==> const FW_StorageKinds)
  437. FW_kDragAndDropStorage - type change (enum ==> const FW_StorageKinds)
  438. FW_kLinkStorage - type change (enum ==> const FW_StorageKinds)
  439. FW_kPartStorage - type change (enum ==> const FW_StorageKinds)
  440. FW_kFileStorage - type change (enum ==> const FW_StorageKinds)
  441.  
  442. FW_ResourceId - renamed to FW_ResourceID; type changed from unsigned to signed short
  443. EventHandlerId - renamed to EventHandlerID
  444.  
  445. FW_kLastTransferMode - renamed to FW_kPrivLastTransferMode
  446.  
  447. kNoIdentifier - renamed to FW_kNoViewID
  448. kNoPriority - renamed to FW_kNoPriority
  449.  
  450. FW_kFontType - renamed to FW_kFontResourceType
  451. FW_kSaveAsResourceKind - renamed to FW_kSaveAsResourceType
  452. 'FWSv' - renamed to 'FWsv'
  453. FW_kViewLayoutType - renamed to FW_kViewLayoutResourceType
  454.  
  455. ### OS Layer ###
  456.  
  457. FW_kSystemFont12 - renamed to FW_kSystemFont
  458.  
  459. FW_kSystemFont - changed to function; call FW_GetSystemFontName()
  460. FW_kDefaultFont - changed to function; call FW_GetDefaultFontName()
  461. FW_kHelvetica - changed to function; call FW_GetHelveticaFontName()
  462. FW_kTimes - changed to function; call FW_GetTimesFontName()
  463. FW_kCourier - changed to function; call FW_GetCourierFontName()
  464. FW_kPalatino - changed to function; call FW_GetPalatinoFontName()
  465.  
  466. FW_DoubleToFixed - (*) parameter type changed from double to FW_Double 
  467. FW_FileAccessHandle - renamed to FW_PlatformFileHandle
  468.  
  469. FWMENU_K - renamed to FWMENUS_K
  470. FWMenu.k - renamed to FWMenus.k (file name)
  471. FW_CMenuBar - is now an auto-destruct class
  472. FW_CMenuBar::PrivFindMenuWithID - renamed to FindMenuWithID
  473. FW_kMenuKeyCharMask - renamed to FW_kPrivMacMenuKeyCharMask
  474. FW_kScriptCodeKeyEquivalent - renamed to FW_kPrivMacScriptCodeKeyEquivalent
  475.  
  476. FW_CAcquireODType - renamed to FW_CAcquireODISOStr
  477. FW_COpenFileParameters::FW_COpenFileParameters - (*) parameter type changed from OSType* to OSType
  478. FW_CRect::PlaceInCenter - renamed to PlaceInCenterOf
  479. FW_CSharedLibraryResourceFile - renamed to FW_PSharedLibraryResourceFile
  480.  
  481. FW_CFont::MacGetFontStyle - (*) return type changed to FW_PlatformFontStyle
  482. FW_CMacTempPort::FW_CMacTempPort - (*) parameter removed
  483. FW_CInk::IsEqual - (*) now const
  484. FW_CStyle::IsEqual - (*) now const
  485.  
  486. FW_CColor::FW_CColor - (*) r, g, b parameter types changed to unsigned char
  487. FW_CColor::Brightness - changed to public
  488. FW_CColor::SetRGB - (*) r, g, b parameter types changed to unsigned char
  489.  
  490. FW_CCursor::FW_CCursor - (*) default parameter instance = FW_gInstance
  491.  
  492. FW_CThreadTask - renamed to FW_CThread
  493. FW_CThreadTask::MacEnter - renamed to PrivMacEnter
  494. FW_CThreadTask::MacSwitchIn - renamed to PrivMacSwitchIn
  495. FW_CThreadTask::MacSwitchOutXX - renamed to PrivMacSwitchOut
  496. FW_CThreadTask::MacTerminate - renamed to PrivMacTerminate
  497. FW_CThreadTask::MacWakeup - renamed to PrivMacWakeup
  498. FW_CThreadCriticalState - renamed to FW_CPrivThreadCriticalState
  499.  
  500. FW_CreateArcRegion - may return NULL instead of an empty region
  501. FW_CreateLineRegion - may return NULL instead of an empty region
  502. FW_CreateOvalRegion - may return NULL instead of an empty region
  503. FW_CreatePolygonRegion - may return NULL instead of an empty region
  504. FW_CreateRoundRectRegion - may return NULL instead of an empty region
  505.  
  506. ### Foundation Layer ###
  507.  
  508. FW_MReceiver::AddNotifier - renamed to AddInterest
  509. FW_MReceiver::RemoveNotifier - renamed to RemoveInterest
  510. FW_MNotifier::AddReceiver - gone
  511. FW_MNotifier::RemoveReceiver - gone
  512. FW_CReceiverInterestIterator - gone
  513. FW_CNotification::GetInterest - (*) return type changed to FW_CInterest&
  514.  
  515. FW_CMemoryReader::MakeReader - (*) parameter added
  516.  
  517. FW_PlatformNewLineChar - renamed to FW_kPlatformNewLineChar
  518.  
  519. FW_SPlatformRect - renamed to FW_PlatformRect
  520. FW_SPlatformPoint - renamed  to FW_PlatformPoint
  521. FW_QDGlobalRec - gone; FW_QDGlobals now uses QDGlobals
  522. FW_Milliseconds - gone
  523. FW_TypeToken - gone
  524.  
  525. WMULTISTRINGRES - renamed to FW_kWMultiStringRes
  526. LMULTISTRINGRES - renamed to FW_kLMultiStringRes
  527. WMULTILONGRES - renamed to FW_kWMultiLongRes
  528. LMULTILONGRES - renamed to FW_kLMultiLongRes
  529. MULTISTRINGRES - renamed to FW_kMultiStringRes
  530. MULTILONGRES - renamed to FW_kMultiLongRes
  531. LBITMAPRES - renamed to FW_kLBitmapRes
  532. WVIEWRES - gone
  533. LVIEWRES - gone
  534. WMENURES - gone
  535. LMENURES - gone
  536. VIEWRES - gone
  537. MENURES - gone
  538.  
  539. ### CyberStuff ###
  540. FW_MCyberPart - gone; instead of mixing this class into your part, keep a ptr to an instance of FW_CCyberdogHelper (see class CPart in CyberStarter)
  541. FW_MCyberPart::AcquireCyberExtension - gone
  542. FW_MCyberPart::GetCyberItem - moved to FW_CCyberdogHelper; (*) parameter added (Environment*)
  543. FW_MCyberPart::GetCyberSession - moved to FW_CCyberdogHelper; (*) parameter added (Environment*)
  544. FW_MCyberPart::MakeEventDispatcher - gone
  545. FW_CCyberDispatcher - gone
  546. FW_CCyberDogWindowHandler - gone
  547. FW_CCyberDogWindowHandler::DoMenu - functionality moved to FW_CCyberdogHelper::DoMenu
  548. FW_CCyberDogWindowHandler::DoWindowEvent - functionality moved to CFrame::HandleWindowEvent
  549.  
  550. ### Resource definition changes
  551. FW_RAbout resource type - (*) 2 fields added
  552. FW_RMenuBar resource type - (*) string field added at beginning: "About PartName..."
  553. FW_RRadioCluster resource type - (*) dummy longint field removed
  554. FW_RScrollBarScroller resource type - (*) field added (LiveScrolling)
  555. FW_RScroller resource type - (*) AutoScrollIncrement field changed to ScrollUnit; field added (PageNavigationKeys)
  556. FW_RStaticText resource type - (*) field added (Font)
  557.